﻿Imports System.Collections.Generic

Public Interface IPersistencia
#Region "metodos"
    Sub connectToDB(ByVal path As String)
    Sub add(ByVal o As Object)
    Sub update(ByVal o As Object)
    Sub delete(ByVal o As Object)
    Sub bringData(ByVal o As Object)
    Function bringList(ByVal o As Object) As List(Of Object)
    Function bringLastOID(ByVal o As Object) As Integer
    Function buscarArticulos(ByVal codigoDesde As String, ByVal codigoHasta As String, ByVal nombreDesde As String, ByVal nombreHasta As String, ByVal precioCostoDesde As Double, ByVal precioCostoHasta As Double, ByVal precioVentaDesde As Double, ByVal precioVentaHasta As Double, ByVal fechaIngresoDesde As Date, ByVal fechaIngresoHasta As Date, ByVal habilitado As Boolean, ByVal stockDesde As Integer, ByVal stockHasta As Integer) As List(Of Articulo)
    'Function buscarClientes()
    'public List<Cliente> buscarClientes(string nombre, Boolean habilitado, double saldoDesde, double saldoHasta, int ruc, int numeroDesde, int numeroHasta)
    Sub connect(ByVal cadena As String)
    Sub disconnect()
#End Region
End Interface
